/**
 * 
 */
package com.fh.entity;

/**
 * ClassName: AppUser 
 *
 * @Description TODO
 *
 * @author mouchina1005
 *
 * @date 2017年8月26日 下午7:21:57
 *
 */
public class AppUser {
	private String userId;
	private String userName;
	private String password;
	private String name;
	private String rights;
	private String roleId;
	private String lastLogin;
	private String ip;
	private String status;
	private String bz;
	private String phone;
	private String sfid;
	private String startTime;
	private String endTime;
	private String years;
	private String number;
	private String email;
	private String propBm;
	private String propZw;
	private String propBgs;
	private String avatar;
	private String token;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRights() {
		return rights;
	}
	public void setRights(String rights) {
		this.rights = rights;
	}
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	public String getLastLogin() {
		return lastLogin;
	}
	public void setLastLogin(String lastLogin) {
		this.lastLogin = lastLogin;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getBz() {
		return bz;
	}
	public void setBz(String bz) {
		this.bz = bz;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getSfid() {
		return sfid;
	}
	public void setSfid(String sfid) {
		this.sfid = sfid;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getYears() {
		return years;
	}
	public void setYears(String years) {
		this.years = years;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPropBm() {
		return propBm;
	}
	public void setPropBm(String propBm) {
		this.propBm = propBm;
	}
	public String getPropZw() {
		return propZw;
	}
	public void setPropZw(String propZw) {
		this.propZw = propZw;
	}
	public String getPropBgs() {
		return propBgs;
	}
	public void setPropBgs(String propBgs) {
		this.propBgs = propBgs;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
//		return super.hashCode();
		return userId.hashCode();
	}
	@Override
	public boolean equals(Object obj) {
		// TODO Auto-generated method stub
		if(obj instanceof AppUser){
			AppUser aUser = (AppUser)obj;
			return userId.equals(aUser.getUserId());
		}
		return super.equals(obj);
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString();
	}
	
	
}
